import Vue from 'vue'

import './styles/quasar.scss'
import '@quasar/extras/material-icons/material-icons.css'
import langZh from 'quasar/lang/zh-hans'
import {
  Quasar,
  QDialog,
  ClosePopup,
  AppFullscreen,
  LoadingBar,
  Dialog,
  Notify,
  Cookies,
  QAjaxBar,
  TouchPan,
  QMenu
} from 'quasar'

Vue.use(Quasar, {
  components: {
    QDialog
  },
  directives: {
    ClosePopup
  },
  config: {},
  plugins: {
    LoadingBar,
    Dialog,
    Notify,
    Cookies,
    QAjaxBar,
    TouchPan,
    QMenu,
    AppFullscreen
  },
  lang: langZh
})
